Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fixes #357: No longer show NPE on admin console after user session expired #358

Merged
merged 1 commit into from
Nov 22, 2024

Conversation

guusdk
Copy link
Member

@guusdk guusdk commented Mar 15, 2023

The NPE shown was an artifact of the page being processed without authentication in place. This should be prevented by the AuthCheckFilter.

Sadly, a naming collision prevents the AuthCheckFilter to operate on the Monitoring Service admin console pages.

This commit prevents the naming collision, by renaming the endpoint on which the public API for logs is exposed (from 'monitoring' to 'logs').

This is not an ideal solution, as it hides a deeper problem with regards to collision of web endpoints. Alas, I think this is the best that we can do without rewriting parts of Openfire (that may affect other plugins).

@guusdk guusdk force-pushed the 357_AuthFilter-name-collision branch from 57ef539 to 66ef6b4 Compare March 15, 2023 10:45
@guusdk guusdk force-pushed the 357_AuthFilter-name-collision branch from 66ef6b4 to 5c5fa36 Compare November 22, 2024 20:00
…ser session expired

The NPE shown was an artifact of the page being processed without authentication in place. This should be prevented by the AuthCheckFilter.

Sadly, a naming collision prevents the AuthCheckFilter to operate on the Monitoring Service admin console pages.

This commit prevents the naming collision, by renaming the endpoint on which the public API for logs is exposed (from 'monitoring' to 'logs').
@guusdk guusdk force-pushed the 357_AuthFilter-name-collision branch from 5c5fa36 to 394ca41 Compare November 22, 2024 20:01
@guusdk guusdk merged commit 3632cf9 into igniterealtime:main Nov 22, 2024
1 check passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant